/**
 * 
 */
package gatech.cs2340.adventuretime.persistent.records;

import gatech.cs2340.adventuretime.persistent.users.Doctor;
import gatech.cs2340.adventuretime.persistent.users.Patient;

import java.util.ArrayList;

/**
 * This type of record holds the patient's diagnosis after a visit.
 * **Design note: was TreatmentRecord, then I realized what a TreatmentRecord really was.
 * @author Winfred Nadeau
 *
 */
public class Diagnosis extends Record {
	
	/**
	 * The doctor's orders.
	 */
	private ArrayList<String> recommendations;
	/**
	 * Any drugs recommended
	 */
	private ArrayList<Prescription> prescriptions;
	/**
	 * a flag to see if this diagnosis has been paid for
	 */
	private boolean paid;
	public Diagnosis(Doctor doc, Patient pat){
		super();
		this.setPaid(false);
		setRecommendations(new ArrayList<String>());
		setPrescriptions(new ArrayList<Prescription>());
	}

	public void setRecommendations(ArrayList<String> recommendations) {
		this.recommendations = recommendations;
	}

	public ArrayList<String> getRecommendations() {
		return recommendations;
	}

	public void setPrescriptions(ArrayList<Prescription> prescriptions) {
		this.prescriptions = prescriptions;
	}

	public ArrayList<Prescription> getPrescriptions() {
		return prescriptions;
	}

	public void setPaid(boolean paid) {
		this.paid = paid;
	}

	public boolean isPaid() {
		return paid;
	}
}
